package com.sky.service;

import com.sky.dto.UserLoginDTO;
import com.sky.entity.AddressBook;
import com.sky.entity.User;

import java.util.List;

public interface AddressBookService{

    List<AddressBook> list(AddressBook addressBook);

    void insertAddress(AddressBook addressBook);

    AddressBook getAddressBookById(AddressBook addressBook);

    void updateAddressById(AddressBook addressBook);

    void deleteAddressById(AddressBook addressBook);

    AddressBook getIsDefaultTAddresses(AddressBook addressBook);

    void isDefault(AddressBook addressBook);
}
